package com.cz.nongyetongv5.bean;

import java.io.Serializable;

public class Plan  implements Serializable {
     private String id;
     private String region_code;
     private String name;
     private String beginDate;
     private String endDate;
     private String entArea;
     private String entAreaName;
     private String allowSection;
     public String getAllowSection() {
		return allowSection;
	}
	public void setAllowSection(String allowSection) {
		this.allowSection = allowSection;
	}
	public String getEntAreaName() {
		return entAreaName;
	}
	public void setEntAreaName(String entAreaName) {
		this.entAreaName = entAreaName;
	}
	private String entKinds;
   
      
	 
	private String entCategorys;
     private String entProduces;
     private String productNameLike;
     private String entNameLike;
     private int entCount;
     
     public String[] arrayEntTrade(){
 		if(entCategorys==null||entCategorys.equals(""))return null;
 		entCategorys=entCategorys.replaceAll("\\[","");
 		entCategorys=entCategorys.replaceAll("\\]","");
 		
 		return entCategorys.split("\\,");
 		
 	}
     public String[] arrayEntProduces(){
    	 
  		if(entProduces==null||entProduces.equals("")||entProduces.equals("[]"))return null;
  		entProduces=entProduces.replaceAll("\\[","");
  		entProduces=entProduces.replaceAll("\\]","");
  		
  		return entProduces.split("\\,");
  		
  	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getRegion_code() {
		return region_code;
	}
	public void setRegion_code(String region_code) {
		this.region_code = region_code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getBeginDate() {
		return beginDate;
	}
	public void setBeginDate(String beginDate) {
		this.beginDate = beginDate;
	}
	public String getEndDate() {
		return endDate;
	}
	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}
	public String getEntArea() {
		return entArea;
	}
	public void setEntArea(String entArea) {
		this.entArea = entArea;
	}
	
	public String[] arrayEntKinds(){
		if(entKinds==null||entKinds.equals(""))return null;
	 
		entKinds=entKinds.replaceAll("\\[","");
		entKinds=entKinds.replaceAll("\\]","");
		
		return entKinds.split("\\,");
		
	}
	public String getEntKinds() {
		return entKinds;
	}
	public void setEntKinds(String entKinds) {
		this.entKinds = entKinds;
	}
	public String getEntCategorys() {
		return entCategorys;
	}
	public void setEntCategorys(String entCategorys) {
		this.entCategorys = entCategorys;
	}
	public String getEntProduces() {
		return entProduces;
	}
	public void setEntProduces(String entProduces) {
		this.entProduces = entProduces;
	}
	public String getProductNameLike() {
		return productNameLike;
	}
	public void setProductNameLike(String productNameLike) {
		this.productNameLike = productNameLike;
	}
	public String getEntNameLike() {
		return entNameLike;
	}
	public void setEntNameLike(String entNameLike) {
		this.entNameLike = entNameLike;
	}
	public int getEntCount() {
		return entCount;
	}
	public void setEntCount(int entCount) {
		this.entCount = entCount;
	}
     
}
